package com.xhblog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhblog.entity.Tag;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author pengyouhong
 * create 2022/5/17 18:11
 */
@Mapper
public interface TagMapper extends BaseMapper<Tag> {
    List<Tag> findTagByArticleId(Long id);

    List<Long> findHotTagIdsByLimit(int limit);
}